// 统一管理和用户相关的请求
import instance from '@/utils/request'

export const register = (data) => instance.post('/user/registered', data)
export const login = (data) => instance.post('/user/login', data)
export const getinfo = () => instance.get('/user')
